package com.financing.platform.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @ClassName: AdvertDTO
 * @Description: 广告
 * @author  lisu
 *
 */
public class AdvertDTO extends BaseDTO{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7039476027923541195L;

	/**
	 * 广告ID
	 */
	private Integer id;
	
	/**
	 * 广告位置
	 */
	private String advertPosition;
	
	/**
	 * 广告名称
	 */
	private String advertTitle;
	
	/**
	 * 广告排序
	 */
	private Integer advertSort;
	
	/**
	 * 图片地址
	 */
	private String  picAddre;
	
	/**
	 * 链接地址
	 */
	private String linkAddre;
	
	/**
	 * 广告开始时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date startTime;
	
	/**
	 * 广告结束时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date endTime;
	
	/**
	 * 广告状态
	 */
	private String status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAdvertPosition() {
		return advertPosition;
	}

	public void setAdvertPosition(String advertPosition) {
		this.advertPosition = advertPosition;
	}

	public String getAdvertTitle() {
		return advertTitle;
	}

	public void setAdvertTitle(String advertTitle) {
		this.advertTitle = advertTitle;
	}

	public Integer getAdvertSort() {
		return advertSort;
	}

	public void setAdvertSort(Integer advertSort) {
		this.advertSort = advertSort;
	}

	public String getPicAddre() {
		return picAddre;
	}

	public void setPicAddre(String picAddre) {
		this.picAddre = picAddre;
	}

	public String getLinkAddre() {
		return linkAddre;
	}

	public void setLinkAddre(String linkAddre) {
		this.linkAddre = linkAddre;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	
}
